package com.sxj.corejava.code01_Java基础;

/**
 * @author 石小俊
 * @date 2025年07月14日 14:04
 */
public class Test02_命名规范 {

    public static void main(String[] args) {
//        int 0a = 1;
//        int a 1 = 1;
        // 英文字母、数字、下划线、$
        int _$1a = 1;
//        int !a = 1;
        int age = 18;
        // 变量名不能重复
        // int age = 20;    报错
        // 区分大小写,age与AGE是两个变量
        int AGE = 20;
        System.out.println(age);
        System.out.println(AGE);
        // int ageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageageage=1;
        // 驼峰命名法:变量由多个英文单词组成的时候,首单词首字母小写,其他单词首字符大写,除了首字母以外的字母全部小写
        int studentAge = 19;

        int goto1 = 1;

        int classNo = 1;
    }

}
